package com.hliushi.learn.service;

import com.hliushi.learn.bean.Reader;

import java.sql.SQLException;
import java.util.List;

public interface ReaderService {

    Reader getReaderById(Integer readerId);
    
    List<Reader> getReaderAll();

    void insertReader(Reader reader);

    void insertReader2(Reader reader) throws SQLException;

    void insertReader3(Reader reader);

    Reader getMyReader();


    Reader getMyReader2();

}
